/// TEST SVN
/// TEST SVN 2

package main;
import struct.*;
import ihm.*;

public class Appli {

	public static void main(String[] args) {

		int largeurFenetre=700;
		int hauteurFenetre=500;
		Window window = new Window("Fenetre principale", largeurFenetre,hauteurFenetre);
				
		//public Mur (int _x, int _y, int _h, int _l,  double orientation, int _r, int _g, int _b,Window win){//
		
		/////////////////////////////////////////////////////////////////////////////////////////
		// Definition de la fenetre
		Mur cadreH = new Mur(0, 0,0, 32, largeurFenetre,0, 0, 0, 0,window);
		window.addMur(cadreH);
		Mur cadreB = new Mur(0, hauteurFenetre-32,0,10, largeurFenetre,0, 0, 0, 0,window);
		window.addMur(cadreB);
		Mur cadreD = new Mur(largeurFenetre-10, 0,0, hauteurFenetre, 10,0, 0, 0, 0,window);
		window.addMur(cadreD);
		Mur cadreG = new Mur(0, 0,0, hauteurFenetre, 10,0, 0, 0, 0,window);
		window.addMur(cadreG);
		////////////////////////////////////////////////////////////////////////////////////////
		
		Triangle t1 = new Triangle(100,100,0,100,100,0,100,100,100,window);
		window.addTriangle(t1);
		
		/*Cercle c1 = new Cercle(100, 100,50,0, 0, 250, 0, 0, 0, window);
 		window.addCercle(c1); 		*/
		
	}
}
